package com.css.common.core.pojo.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/*
 *商品信息项
 */
@Data
public class GoodsItemVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("商品ID")
    @JsonProperty(value = "goodsId")
    private String goodsId;

    @ApiModelProperty("商品名称")
    @JsonProperty(value = "goodsName")
    private String goodsName;

    @ApiModelProperty("商品数量")
    @JsonProperty(value = "quantity")
    private String quantity;

    @ApiModelProperty("商品单价(分)")
    @JsonProperty(value = "price")
    private String price;

    @ApiModelProperty("商品分类")
    @JsonProperty(value = "goodsCategory")
    private String goodsCategory;

    @ApiModelProperty("商品说明")
    @JsonProperty(value = "body")
    private String body;

    @ApiModelProperty("商品单位")
    @JsonProperty(value = "unit")
    private String unit;

    @ApiModelProperty("商品折扣")
    @JsonProperty(value = "discount")
    private String discount;

    @ApiModelProperty("子商户号")
    @JsonProperty(value = "subMerchantId")
    private String subMerchantId;

    @ApiModelProperty("商户子订单号")
    @JsonProperty(value = "merOrderId")
    private String merOrderId;

    @ApiModelProperty("子商户商品总额")
    @JsonProperty(value = "subOrderAmount")
    private Integer subOrderAmount;
}
